package com.bt7274.service.impl;

/**
 * @Data 2025/6/13 01:26
 * @Author hp
 * @Version 1.0
 * @Description EmojiServiceImpl
 */

import com.bt7274.mapper.EmojiMapper;
import com.bt7274.pojo.Emoji;
import com.bt7274.service.EmojiService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class EmojiServiceImpl implements EmojiService {

    @Resource
    private EmojiMapper emojiMapper;

    @Override
    public List<Emoji> getAllEmojis() {
        QueryWrapper<Emoji> queryWrapper = new QueryWrapper<>();
        return emojiMapper.selectList(queryWrapper);
    }
}